package com.jishuo.base.util;

import java.math.BigDecimal;

/**
 * @author :hanlipeng
 * @description :
 * @create :2023-03-02 11:45:00
 */
public class StringObject {


    public static String objectString(Object object){
        if(object!=null){
            return object.toString();
        }else{
            return null;
        }
    }

    public static String objectString(BigDecimal object){
        if(object!=null){
            return object.toPlainString();
        }else{
            return null;
        }
    }
}
